﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

[CustomEditor(typeof(TileContainer))]
public class TileContainerEditor : Editor
{
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();
        TileContainer tileContainer = target as TileContainer;
        if (tileContainer == null) return;


        if (GUILayout.Button("Create"))
        {
            tileContainer.CreateMap();
        }
    }

}
